package com.atstudent.gmall.product.mapper;

import com.atstudent.gmall.product.entity.SpuSaleAttr;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 薛有朋
* @description 针对表【spu_sale_attr(spu销售属性)】的数据库操作Mapper
* @createDate 2024-11-17 20:40:42
* @Entity com.atstudent.gmall.product.entity.SpuSaleAttr
*/
public interface SpuSaleAttrMapper extends BaseMapper<SpuSaleAttr> {

    public abstract List<SpuSaleAttr> findBySpuId(@Param(value = "spuId") Long spuId);

    public abstract List<SpuSaleAttr> findSpuSalAttrBySkuId(Long skuId);
}




